home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.compusult.nf.ca!usenet
  2. From: Elliott Noel <jnoel@public.compusult.nf.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: malloc woes with watcom C
  5. Date: Sun, 31 Dec 1995 14:47:50 -0330 (NST)
  6. Organization: Compusult Limited, St. John's, NF, Canada
  7. Message-ID: <Pine.LNX.3.90.951230212738.7388A-100000-100000-100000@public.compusult.nf.ca>
  8. NNTP-Posting-Host: public.compusult.nf.ca
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; charset=US-ASCII
  11.  
  12.  
  13.   I looked through the faq and noticed a few answers pertaining to my 
  14. problem, but nothing that seems to help me.
  15.  
  16.   My problem is that my program generates an exception and crashes during 
  17. legitimate calls to malloc().  It always seems to happen after a few 
  18. calls have already been made, and I can't localize the problem, just that 
  19. it occurs within the code for the malloc() function.
  20.  
  21.   I am working under dos4gw flat memory model with Watcom C.  If anybody 
  22. has experienced this problem and knows anything about correcting it, 
  23. please contact me - you can imagine how cripling it is to my work not to 
  24. be able to allocate memory dynamically...
  25.  
  26.  
  27.